Button press and release can share the same fill_button_event call
authorRichard Hult <richard@imendio.com>
Tue, 3 Feb 2009 10:57:32 +0000 (11:57 +0100)
committerAlexander Larsson <alex@localhost.localdomain>
Thu, 2 Apr 2009 08:15:32 +0000 (10:15 +0200)
gdk/quartz/gdkevents-quartz.c

index f3ddc3bf8a41e135bbe84141ab20c886aaef6b4d..45e0d4e557041dace2cae77840497408364719a4 100644 (file)
@@ -1236,9 +1236,6 @@ gdk_event_translate (GdkEvent *event,
     case NSLeftMouseDown:
     case NSRightMouseDown:
     case NSOtherMouseDown:
-      fill_button_event (window, event, nsevent, x, y, x_root, y_root);
-      break;
-
     case NSLeftMouseUp:
     case NSRightMouseUp:
     case NSOtherMouseUp: